package willispace;

/**
 * Configuration class.
 * 
 * @author mateusz
 */
public final class Config {

    /**
     * Width of the tile on board
     */
    public final static int tileWidth = 70;
    /**
     * Height of the tile on board
     */
    public final static int tileHeight = 70;
    /**
     * What time should independent entity (robot) sleep before check for new state/route/position and so on.
     */
    public final static int EntitySleepTime = 10;
    /**
     * Time between rerender everything
     */
    public final static int gameLoopSleepTime = 30;
    /**
     * Number of horizontal tiles on map.
     */
    public static int horizontalTiles;
    /**
     * Number of vertical tiles on map.
     */
    public static int verticalTiles;
    /**
     * Maximum cost of worker
     */
    public final static int maxWorkerCost = 5;
    /**
     * Maximum cost of transporter
     */
    public final static int maxTransporterCost = 10;
    /**
     * Cost of each factory
     */
    public final static int factoryCost = 10;
    /**
     * Maximum factory capacity
     */
    public final static int maxFactoryCapactity = 400;
    /**
     * Minimum factory capacity
     */
    public final static int minFactoryCapacity = 100;
    /**
     * Probability of gas explosion in time unit
     */
    public final static double gasExsplosionProbability = 0.001;
    /**
     * Range of gas explosion (tiles +- range in both directions)
     */
    public final static int gasExplosionRange = 2;
    /**
     * Time of explosion of gas
     */
    public final static int gasExplosionTime = 70;
}
